const PublicModel = require("../publicmodel");
module.exports = class fundModel extends PublicModel {
	constructor(_db, _id) {
		super(_db, "lg-fund-bases", _id);
		this.symbol = ""; //基金标识
		this.name = ""; //基金名称
		this.type_group = ""; //基金组类型
		this.type = ""; //基金类型
		this.company_name = ""; //基金公司
		this.subject_name = ""; //主题概念
		this.found_date = ""; //创立日期
		this.latest_net_value = 0; //最新净值
		this.accumulate_net_value = 0; //累积净值
		this.scale = 0; //基金规模(亿)
		this.Year_todate_performance = 0; //今年以来业绩
		this.one_month_performance = 0; //近一个月业绩
		this.three_month_performance = 0; //近三个月业绩
		this.six_month_performance = 0; //近六个月业绩
		this.one_year_performance = 0; //近一年业绩
		this.three_year_performance = 0; //近三年业绩
		this.five_year_performance = 0; //近五年业绩
		this.cur_year_performance = 0; //今年业绩
		this.morningstar_rating = 0; //晨星评级
		this.haitong_rating = 0; //海通评级
		this.jianjinxin_rating = 0; //济安金信评级
		this.cmsc_Rating = 0; //招商评级
		this.milky_way_rating = 0; //银河评级
		this.manage_date = ""; //基金管理日期(天)
		this.exchange = ""; //交易所
		this.manager_name = ""; //基金管理人
		this.create_date = ""; //创建日期
		this.lastupdate_date = ""; //更新日期
	}
}
